package ch04;

/**
 * Created by 其 on 2016/3/20.
 */
public class IntegerDemo {
    public static void main(String[] args) {
        int data1 = 10;
        int data2 = 20;

        Integer wrapper1 = new Integer(data1);
        Integer wrapper2 = new Integer(data2);

        System.out.println(data1 / 3);
        System.out.println(wrapper1.doubleValue() / 3);
        System.out.println(wrapper1.compareTo(wrapper2));
    }
}

